/*
 * math_util.h
 *
 *  Created on: Dec 13, 2012
 *      Author: filipe mutz
 */

#ifndef __MATH_UTIL_H_
#define __MATH_UTIL_H_

#include <vector>
using namespace std;

typedef vector<double> Point;

class GaussianDistribution
{
	Point _deviation;
	Point _center;

	public:
		GaussianDistribution(Point center, Point deviation);
		~GaussianDistribution();
		vector<Point> generate(int num_points);
};

double random_gaussian_radius(double std);
double euclidean_distance(double *p, double *q, int size);

#endif /* __MATH_UTIL_H_ */
